package com.dfcj.oauth2server.controller;


import com.dfcj.oauth2server.dao.AccountUserMapper;
import com.dfcj.oauth2server.entity.AccountUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class CommonController {
    @Autowired
    private AccountUserMapper accountUserMapper;

    @GetMapping("/common")
    public AccountUser common(){
        return accountUserMapper.selectByPrimaryKey("1");
    }
}
